<template>
  <div class="more-container">
    <el-tabs v-model="activeName" @tab-click="handleClick">
      <el-tab-pane label="约车管理" name="ycgl">
        <course v-if="activeName == 'ycgl'"></course>
      </el-tab-pane>
      <el-tab-pane label="约车设置" name="ycsz">
             <setUp v-if="activeName == 'ycsz'"></setUp>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script type="text/javascript">
import course from './course'
import setUp from './setUp'

export default {
  data() {
    return {
      activeName: 'ycgl',
    }
  },
  components: {
   course,setUp
  },
  methods: {
    handleClick(tab, event) {
      this.activeName = tab.name
    },
  },
}
</script>

<style lang="scss" scoped>
::v-deep {
  .el-tabs__nav-wrap::after {
    height: 1px;
  }
  .el-tabs__item {
    font-size: 16px;
  }
  .el-tabs__item.is-active {
    font-weight: bold;
  }
}
</style>
